package cn.itrip.mapper.ItripHotelOrder;
import cn.itrip.pojo.ItripHotelOrder;
import cn.itrip.pojo.ItripHotelTempStore;
import cn.itrip.vo.order.ItripPersonalOrderRoomVO;
import cn.itrip.vo.order.ItripSearchOrderVO;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface ItripHotelOrderMapper {

	public ItripHotelOrder getItripHotelOrderById(@Param(value = "id") Long id)throws Exception;

	public ItripPersonalOrderRoomVO getItripHotelOrderByVo(@Param(value = "id") Long id)throws Exception;

	public List<ItripHotelOrder> getItripHotelOrderByIdAndStatus(@Param(value = "userId") Integer userId)throws Exception;

	public ItripHotelOrder getItripHotelOrderIdByOrderno(@Param(value = "orderno") String  orderno)throws Exception;

	public List<ItripHotelOrder> getItripHotelOrderListByMap(Map<String, Object> param)throws Exception;

	public List<ItripHotelOrder> getItripHotelOrderList(ItripSearchOrderVO vo)throws Exception;

	public Integer getItripHotelOrderCountByMap(Map<String, Object> param)throws Exception;

	public Integer insertItripHotelOrder(ItripHotelOrder ItripHotelOrder)throws Exception;

	public Integer updateItripHotelOrder(ItripHotelOrder ItripHotelOrder)throws Exception;

	public Integer deleteItripHotelOrderById(@Param(value = "id") Long id)throws Exception;

	public void flushRoomStore(HashMap<String, Object> param) throws Exception;

	public List<ItripHotelTempStore> queryRoomStore(HashMap<String, Object> param) throws Exception;

	public ItripPersonalOrderRoomVO getItripPersonalOrderRoomByVo(@Param(value = "id") Long id) throws Exception;

	public Integer changeOrderToComment() throws Exception;
}
